package com.wyq.group12.service.impl;

import com.wyq.group12.entity.PtUserEntity;
import com.wyq.group12.mapper.LoginMapper;
import com.wyq.group12.service.LoginService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @ClassName LoginServiceImpl
 * @Description: //TODO 认证业务逻辑实现层
 * @Author wyq
 * @Date 2022/5/11 16:48
 */
@Service("loginService")
public class LoginServiceImpl implements LoginService {
    @Resource
    private LoginMapper loginMapper;
    @Override
    public PtUserEntity queryUserInfoByUserName(String username) {
        return loginMapper.queryUserInfoByUserName(username);
    }
}

